/*******************************************************************************
 *                                                                             *
 * app                                                                         *
 *                                                                             *
 ******************************************************************************/
.root{
    /*白色透明度*/
    white_color_a_16: #ffffffff;
    white_color_a_15: #fffffff0;
    white_color_a_14: #ffffffe0;
    white_color_a_13: #ffffffd0;
    white_color_a_12: #ffffffc0;
    white_color_a_11: #ffffffb0;
    white_color_a_10: #ffffffa0;
    white_color_a_9: #ffffff90;
    white_color_a_8: #ffffff80;
    white_color_a_7: #ffffff70;
    white_color_a_6: #ffffff60;
    white_color_a_5: #ffffff50;
    white_color_a_4: #ffffff40;
    white_color_a_3: #ffffff30;
    white_color_a_2: #ffffff20;
    white_color_a_1: #ffffff10;

    /*黑色透明度*/
    black_color_a_16: #000000ff;
    black_color_a_15: #000000f0;
    black_color_a_14: #000000e0;
    black_color_a_13: #000000d0;
    black_color_a_12: #000000c0;
    black_color_a_11: #000000b0;
    black_color_a_10: #000000a0;
    black_color_a_9: #00000090;
    black_color_a_8: #00000080;
    black_color_a_7: #00000070;
    black_color_a_6: #00000060;
    black_color_a_5: #00000050;
    black_color_a_4: #00000040;
    black_color_a_3: #00000030;
    black_color_a_2: #00000020;
    black_color_a_1: #00000010;

    /*系统主题样式*/
    -color-accent-0: #e2f1ff;
    -color-accent-1: #badcff;
    -color-accent-2: #8ec7ff;
    -color-accent-3: #5fb1ff;
    -color-accent-4: #3ba0ff;
    -color-accent-5: #188fff;
    -color-accent-6: #1e81f0;
    -color-accent-7: #206fdc;
    -color-accent-8: #205dca;
    -color-accent-9: #1f3eaa;
    -color-accent-fg: #188fff;
    -color-accent-emphasis: #188fff;
    -color-accent-muted: #188fff60;
    -fx-font-family: "Hei"; /* 替换为你想要的字体名称 */

}

.button.accent.button-outlined {
    -color-button-bg-hover: -color-accent-emphasis;
    -color-button-fg-hover: -color-fg-emphasis;
    -color-button-bg-focused: -color-bg-default;
    -color-button-fg-focused:  -color-accent-fg;
    -color-button-border-focused: -color-accent-fg;
}
.button.accent.button-outlined:hover:focused {
    -fx-text-fill: -color-fg-emphasis;
}

.button.danger.button-outlined {
    -color-button-bg-hover: -color-danger-emphasis;
    -color-button-fg-hover: -color-fg-emphasis;
    -color-button-bg-focused: -color-bg-default;
    -color-button-fg-focused:  -color-danger-fg;
    -color-button-border-focused: -color-danger-fg;
}

.button.danger.button-outlined:hover:focused {
    -fx-text-fill: -color-fg-emphasis;
}

.label-required {
    -fx-text-fill: -color-danger-emphasis;
}


/*输入框*/
.text-field {
    -fx-padding: 8 10 8 10;
    -fx-prompt-text-fill: -color-fg-subtle;
}
/*日期选择*/
.date-picker {
    -fx-padding: 0;
}

.date-picker > .date-picker-display-node{
    -fx-padding: 8 10 8 10;
}
/*选择框*/
.combo-box {
    -fx-padding: 0;
    -fx-prompt-text-fill: -color-fg-subtle;
}

.combo-box > .text-input{
    -fx-padding: 8 10 8 10;
    -fx-prompt-text-fill: -color-fg-subtle;
}

/*表格全选父布局*/
.table-select-parent {
    -fx-max-height: 40px;
    -fx-max-width: 64px;
    -fx-alignment: CENTER_LEFT;
    -fx-padding: 0 0 0 1em
}

/*滑动条*/
.app-jfx-slider,
.app-jfx-slider:hover {
    -jfx-default-thumb: -color-accent-emphasis;
    -jfx-default-track: -color-border-muted;
    -fx-background-insets: 0;
    -fx-border-insets: 0;
    -fx-padding: 0;
}
.app-jfx-slider .track,
.app-jfx-slider:vertical .track,
.app-jfx-slider:hover .track,
.app-jfx-slider:hover:vertical .track {
    -fx-background-color: -color-border-muted;
    -fx-background-radius: 4;
    -fx-pref-height: 4;
    -fx-background-insets: 0;
    -fx-padding: 0;
}
.app-jfx-slider .thumb {
    -fx-background-color: -color-accent-emphasis;
    -fx-background-radius: 6;
    -fx-pref-width: 12;
    -fx-pref-height: 12;
}
.app-jfx-slider:pressed .thumb,
.app-jfx-slider:hover .thumb {
    -fx-background-color: -color-accent-emphasis;
}

.box-content-pane{
    -fx-background-color: -color-bg-default;
}

.app-bg-fit-decoration {
    -fx-background-size: 100% 100%;
    -fx-background-repeat: no-repeat;
}

/*列表背景*/
.list-item-diff-odd{
    -fx-background-color: -color-bg-subtle;
}

.list-item-diff-even{
    /*-fx-background-color: transparent;*/
}